package com.example;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

/**
 * Created by Administrator on 2018/5/16.
 */

public class PictOne extends AppCompatActivity implements View.OnClickListener{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.pictone);
        initView();

    }

    private void initView() {
        findViewById(R.id.pict_bt).setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        Intent intent=new Intent(Intent.ACTION_VIEW);
        intent.setData(Uri.parse("https://baike.sogou.com//m/fullLemma?lid=10402914&fromTitle=%E8%8B%8F%E7%82%B3%E6%B7%BB"));
        startActivity(intent);
    }
}
